Programming and erasing methods for an NROM array

ABSTRACT

A method for programming and erasing a memory array includes the step of adapting programming or erase pulses to the current state of the memory array. In one embodiment, the step of adapting includes the steps of determining the voltage level of the programming pulse used to program a fast bit of the memory array and setting an initial programming level of the memory array to a level in the general vicinity of the programming level of the fast bit. For erasure, the method includes the steps of determining erase conditions of the erase pulse used to erase a slowly erasing bit of said memory array and setting initial erase conditions of said memory array to the general vicinity of said erase conditions of said slowly erasing bit. In another embodiment of the array, the step of adapting includes the steps of measuring the current threshold level of a bit to within a given range and selecting an incremental voltage level of a next programming or erase pulse for the bit in accordance with the measured current threshold level.

CROSS REFERENCE TO RELATED APPLICATIONS

[0001] The present application is a divisional application of U.S. Ser. No. 09/730,586, filed Dec. 7, 2000, which application is a continuation in part application of Ser. No. 09/563,923, filed May 4, 2000, which application is incorporated herein by reference.

FIELD OF THE INVENTION

[0002] The present invention relates generally to electrically erasable, programmable read only memory (EEPROM) cells and specifically, to methods for programming thereof.

BACKGROUND OF THE INVENTION

[0003]FIG. 1, to which reference is made, illustrates a typical prior art floating gate cell, comprising two diffusion areas, source 102 and drain 104, embedded in a substrate 105, between which is a channel 100. A floating gate 101 is located above but insulated from channel 100, and a gate 112 is located above but insulated from floating gate 101.

[0004] Typically, when programming the floating gate cell, programming voltages V_(G) and V_(D) are applied to gate 112 and drain 104, respectively, and a low source voltage V_(S) is applied to source 102. For array applications, a row of gates are formed into a word line, and a column of drain and source are formed into bit lines along which voltages V_(D) and V_(S), respectively, are supplied.

[0005] The source and drain voltages V_(S) and V_(D), respectively, create a lateral field that pulls channel electrons from source 102 to drain 104. This is indicated by arrow 10. Near drain 104, a vertical field created by the gate voltage V_(G) allows hot channel electrons to be injected (arrow 12) into floating gate 101. Once injected into floating gate 101, the electrons are distributed equally across the entire gate, increasing the threshold voltage V_(TH) of floating gate 101.

[0006] Another type of non-volatile cell is the nitride, read only memory (NROM) cell described in U.S. Pat. No. 6,011,725, assigned to the common assignee of the present application. The disclosure of U.S. Pat. No. 6,011,725 is incorporated herein by reference.

[0007] Similar to the floating gate cell of FIG. 1, the NROM cell illustrated in FIGS. 2A and 2B, to which reference is now made, has channel 100 between two diffusion areas 102 and 104. However, unlike the floating gate cell, the NROM cell has two separated and separately chargeable areas 106 and 108. Each chargeable area defines one bit. For the dual bit cell of FIGS. 2, the separately chargeable areas 106 and 108 are found within a nitride layer 110 formed in an oxide-nitride-oxide (ONO) sandwich (layers 109, 110 and 111) underneath gate 112.

[0008] To program the left bit in area 106, the left diffusion area 102 receives the high programming voltage V_(D) (i.e. area 102 is the drain) and right diffusion area 104 is grounded (i.e. area 104 is the source). Hence the electrons flow from area 104 to area 102. This is indicated by arrow 114. The channel hot electrons are then injected into the nitride layer, in area 106. The negative charge in area 106 raises the threshold voltage of the cell, if read in the reverse direction.

[0009] The opposite is true for programming area 108; the left diffusion area 102 is the source (i.e. grounded) and right diffusion area 104 is the drain (i.e. receives high programming voltage V_(D)). The cell is therefore programmed in the opposite direction, as indicated by arrow 113, and the electrons then jump up into chargeable area 108.

[0010] For NROM cells, each bit is read in the direction opposite (a “reverse read”) to that of its programming direction. An explanation of the reverse read process is described in U.S. Pat. No. 6,011,725, mentioned above. Thus, to read the left bit stored in area 106, right diffusion area 104 is the drain and left diffusion area 102 is the source. This is known as the “read through” direction, indicated by arrow 113. To read the right bit stored in area 108, the cell is read in the opposite direction, indicated by arrow 114. Thus, left diffusion area 102 is the drain and right diffusion area 104 is the source.

[0011] During the read operation, the presence of the gate and drain voltages V_(G) and V_(D), respectively, induce a depletion layer 54 (FIG. 2B) and an inversion layer 52 in the center of channel 100. The drain voltage V_(D) is large enough to induce a depletion region 55 near drain 104 which extends to the depletion layer 54 of channel 100. This is known as “barrier lowering” and it causes “punch-through” of electrons from the inversion layer 52 to the drain 104.

[0012] Since area 106 is near left diffusion area 102 which, for this case, acts as the source (i.e. low voltage level), the charge state of area 106 will determine whether or not the inversion layer 52 is extended to the source 102. If enough electrons are trapped in left area 106, then the voltage thereacross will not be sufficient to extend inversion layer 52 to the source 102, the cell's current will be low, and a “0” will be read. The opposite is true if area 106 has no charge.

[0013] Reference is now made to FIGS. 3A, 3B and 3C, which are timing diagrams of an exemplary prior art programming schedule for NROM cells. Typically, when programming an NROM cell, programming pulses 120A, 120B and 120C, consisting of programming voltages V_(D), V_(S), and V_(G), respectively, are applied to the cell. Programming pulses 120 are then followed by program verify pulses 122A, 122B and 122C, consisting of read voltages V_(D), V_(S), and V_(G), respectively, during which time the cell is read.

[0014] If there are enough electrons trapped in the bit, a “0” is read, and the cell is verified as programmed. If, however, during the read operation, the inversion layer is not strong enough to prevent the current flow through the channel, then the bit will be read as a “1”, and the cell will fail program verification.

[0015] The sequence of pulses 120 and 122 are repeatedly applied until the effect of the charged trapped in area 106 (or 108) has reached the desired level and the cell is considered “programmed”. The programming process is then terminated.

[0016] Due to ever demanding manufacturing requirements, the semiconductor industry is continuously searching for ways to improve the programming process. There exist two contradicting programming requirements; 1) to increase the programming speed, thereby reducing the cost of testing the part, and 2) to improve the control of the final programmed threshold, thereby enhancing product reliability.

[0017] The first requirement can easily be met just by increasing the drain and gate potentials to their maximum values. However, this strategy will not meet the second requirement due to the many process and environmental parameters that affect the programming rate and its variations.

[0018] To achieve the second requirement, there are two basic options, controlling the length of the programming sequence, and/or stepping the amplitude of the gate voltage potential.

[0019] The article “Nonvolatile Multilevel Memories for Digital Applications”, published in the IEEE Magazine on Dec. 12, 1998, discusses a number of proposed methods for programming multilevel floating gate circuits, including that of controlling the programming time length. One such method is discussed in the section Programming and Accuracy, 2) Drain Voltage Programming, as follows: 1) a constant gate voltage is set, 2) per bit level of the multi-level cell, a constant drain voltage is determined, and 3) the cell is programmed for a predetermined time period. At the completion of the time period, the programming is terminated. Alternately, the article describes an approach whereby after each programming pulse, the threshold voltage V_(TH) is verified. Upon reaching the target threshold voltage, programming is terminated.

[0020] U.S. Pat. No. 5,523,972 describes a floating gate method that entails incrementally increasing the programming gate voltage V_(G), while keeping other factors constant (e.g. source and drain voltages, V_(S) and V_(D), respectively). In the described programming algorithm, each cell is checked to determine whether or not it has reached the desired state. If not, a programming gate voltage pulse of a slightly higher voltage is applied to the cell. The charge level is checked again, and if the desired state has not yet been reached, the voltage is raised again and applied. This process is repeated until all the cells reach the desired level.

[0021] U.S. Pat. No. 5,172,338 describes a programming algorithm similar to that described in the U.S. Pat. No. 5,523,972, however, on a per cell basis. Every cell that reaches the desired level does not receive the drain voltage of the next step. This sequence is continued until the last bit of the byte word/group is programmed.

[0022] As explained in both “Nonvolatile Multilevel Memories for Digital Applications” and U.S. Pat. No. 5,523,972, in floating gate cells, the relationship between ΔV_(G) and ΔV_(TH) is linear. As such, control of programming is relatively precise since, for every change in the gate voltage V_(G), there is a similar change in the threshold voltage V_(TH) of the cell.

[0023] Nonetheless, there are many factors influencing the programming speed, and consequently, the programming speed may vary from cell to cell even when the same level of programming voltage is applied thereto. FIG. 4, to which reference is now made, illustrates the typical variation of programming time for a normal population of memory cells. Point 126 depicts the cell with the fastest programming speed, while point 128 represents the cell with the slowest programming speed. The variance in time between point 126 to point 128 can be as large as 500×.

[0024] The wide variation of programming speeds creates problems during programming of memory cell arrays. These arrays may contain many millions of memory cells, each with its own distinct programming speed. Some cells may reach their programmed level in a shorter time than needed for other cells to reach their programmed levels. Thus, the programming process needs to be terminated for some cells, while for others, it needs to be continued.

[0025] Some of the factors influencing the programming speed in floating gate cells are: variations in process parameters such as channel length, gate coupling ratio, drain coupling ratio, source resistance variations (array effect) and channel doping variations. Another factor influencing the program rate is the temperature of the product during programming; generally, the lower the temperature, the faster the programming rate.

[0026] In NROM cells, the parameters that affect the programming speed are: the ONO thickness, the channel length, the channel doping and the temperature. For dual bit NROM cells, the programming state of one bit affects the programming speed of the other bit.

[0027] When an improper programming algorithm is used, some cells may receive too high programming voltages or may be programmed for too long. In such instances, an over-abundance of charge is introduced into the gate or retention layer (NROM) and the memory cell is “over-programmed”. In floating gate cells, over-programming deteriorates the quality of the oxide layer (reference number 109, FIG. 1), creating reliability problems due to the degradation of the quality of the product. Furthermore, continuing to apply high voltage pulses once the unit cells have already reached the programmed level wastes power and creates a power dissipation problem.

[0028] Moreover, as to be described below, in multi-level floating gate products, over-programming can lead to information read failures. Reference is now made to FIG. 5, a graph illustrating the different threshold voltage levels comprised within a multi-level floating gate cell. As depicted in the FIG. 5, each bit in the multi-level floating gate cell is defined by a predefined region of voltage threshold V_(TH). As an example, the first bit lies in region 132, (to the left of line W), while the second bit lies in region 134 (from line W to line X), the third bit in region 136 (from line X to line Y), and so on. When a cell is over-programmed, the resultant threshold voltage may overshoot the desired region, thus leading to a read error or failure.

[0029] Further problems arise when programming both bits of multi-bit memory cells, such as the two-bit NROM cell. Once the first bit is programmed, the threshold voltage V_(TH) of the cell is raised, and consequently, the programming of the second bit of the cell is slower.

[0030] In NROM cells, in addition to the stated problems connected with breakdown of the oxide layer and unnecessary dissipation of power, over-programming creates different problems. As explained below in connection with FIGS. 6, over-programming results in quality deterioration and reliability degradation, as well as read failures in two-bit cells.

[0031]FIGS. 6A, 6B, 6C and 6D, to which reference is now made, are exploded views of the NROM cell depicted in FIGS. 2A and 2B. It is noted that the shape of the trapped charge in chargeable areas 106 and 108 ranges from a narrow pocket, depicted as 106N and 108N, to an average pocket (i.e. 106A and 108A), to an even wider pocket (i.e. 106W and 108W) with a “tail” 44.

[0032] Applicants note that tail 44, which is farther from the bit line than the bulk of the trapped charge, is generally not removable during erasure and thus, reduces the ability of the NROM cell to withstand a large number of program and erase cycles. Typically, erasure depletes only the charge concentration closest to the diffusion area. Thus, if the distribution pocket is too wide, the tail 44 of the trapped charge will not erase, and with each progressive erase, more and more charge will remain in the retention section, even after erasures (FIG. 6D).

[0033] The trapped charge in tail 44 acts as partially programmed charge. It is due to the trapped charge in tail 44 that fewer programming pulses are required to achieve the programmed threshold voltage level (since the bit is already, in effect, partially programmed).

[0034] Furthermore, the accumulation of trapped negative charge far from the junction increases the threshold voltage level, which affects the reverse read, making it difficult to distinguish the first bit from the second bit and creating read failures. In order to compensate, the erase operation accumulates extra positive charge close to the junction, which makes the erase time take longer.

[0035] Unfortunately, prior art methods of gradually increasing the programming gate voltage V_(G) are not effective for NROM cells, and tend to produce the following two problems:

[0036] 1. In NROM products, increases in the gate voltage V_(G) do not linearly correlate to increases in the threshold voltage V_(TH), and the effect of the increases varies from cell to cell. This causes a lack of precise programming control, and an incurred risk of over programming.

[0037] 2. In order to ensure a reasonable yield rate, meeting the programming rate requirement, the drain voltage V_(D) potential must be high, creating trapped charge regions distant from the junction.

[0038] The above two problems result in reduction in the endurance of the product, increase in the charge loss and reduction in yield.

[0039] In regard to the first problem, reference is now made to FIG. 7, an electrical schematic of a portion of an NROM array. The depicted circuit includes a bit line power supply V_(PPS), a select transistor 152, resistors R1 and R2, and an NROM cell 154. Resistors R1 and R2 denote the native resistance of the wire in the depicted array. Transistor 152 is a select transistor used to select a bit line of the array. Programming current I_(PR) flows throughout the entire circuit. The voltage drops across the channels of transistor 152 and cell 154 are designated as V_(DS-SEL) and V_(DS), respectively.

[0040] In NROM cells, small increases in the programming gate voltage V_(G) greatly influences the programming current I_(PR). In a chain reaction effect, when the programming gate voltage V_(G) is stepped, programming current I_(PR) increases, which causes an increase in voltage drops V_(DS-SEL) and V_(DS) and an increase in the voltage drops along resistors R1 and R2. Hence, with all the different factors changing, there is no clear linear relationship between the stepped gate voltage V_(G) and the threshold voltage V_(TH), and therefore, no precise control over the programming process. As a farther complication, the reduction in V_(DS) increases the programming time exponentially.

[0041] Reduction in the incremental increase of the gate voltage V_(G) can alleviate part of the control problem, but it will dramatically increase the programming time. Further control improvement can be achieved by increasing the dynamic range of the gate voltage V_(G). Unfortunately, there are resultant difficulties at both ends of the dynamic range.

[0042] Low gate voltage V_(G) results in cycling degradation. So therefore, the desired gate voltage V_(G) is set relatively high, i.e. 8-10V. Further increases in gate voltage V_(G), such as over 10V, require special processes and put severe limitations on the scaling of the ONO thickness due to charging by tunneling. For example, a 180 Å ONO of the 0.5 μm process will experience tunneling charging for voltages over 12V.

[0043] The second problem noted above (high drain voltage V_(D)) creates even more severe limitations on the stepped gate voltage V_(G) approach. When programming according to stepping of the gate voltage V_(G), the programming drain voltage V_(D) must be fixed and high in order to cover a large dynamic range. Using a high programming drain voltage V_(D) creates a large lateral field and a wide pinch-off regime, yielding a wide trapped charge region. Accordingly, the resultant product is the undesirable tail 44, which drastically reduces the product's endurance.

[0044] Hence, due to the first problem noted above, using the gate voltage V_(G) as a dynamic parameter for controlling programming is very limited in range.

[0045] In conclusion, in NROM cells, stepping the programming gate voltage V_(G) does not provide tight programming control and is not effective in preventing over-programming and eventual degradation of the product's quality.

[0046] As can be understood from the above, when prior art programming algorithms are applied to the NROM cell, they do not sufficiently provide the abilities to produce increased programming speed while maintaining tight programming control. Applicants have found a need for an NROM programming algorithm which executes these functions over a wide range of programming parameters, thus avoiding the dangers of over-programming and its resultant reduction in product reliability.

SUMMARY OF THE INVENTION

[0047] An object of the present invention is to provide improved programming and erasure methods.

[0048] A method for programming and erasing a memory array includes the step of adapting programming or erase pulses to the current state of the memory array. In one programming embodiment, the step of adapting includes the steps of determining the voltage level of the programming pulse used to program a fast bit of the memory array and setting an initial programming pulse level of the memory array to a level in the general vicinity of the programming pulse level of the fast bit.

[0049] Additionally, in accordance with a preferred embodiment of the present invention and for programming, the step of determining includes the steps of programming a small set of bits of the memory array, setting a starting programming pulse level to a programming pulse level not higher than the programming pulse level used to program a fast bit of said small set, programming generally all of the bits of the memory array beginning at the starting programming pulse level, and setting the initial programming pulse level to a programming pulse level in the general vicinity of the programming pulse level of the fast bit.

[0050] Moreover, in accordance with a preferred embodiment of the present invention, generally all of the bits is everything but the bits of the small set. Alternatively, they can include all of the bits of the array.

[0051] In another embodiment of the array, the step of adapting for programming includes the steps of measuring the current threshold level of a bit to within a predetermined range and selecting an incremental voltage level of a next programming pulse for the bit in accordance with the measured current threshold level.

[0052] Moreover, in accordance with a preferred embodiment of the present invention, the step of measuring includes the step of having multiple verify levels for the array.

[0053] Furthermore, in accordance with a preferred embodiment of the present invention, the magnitude of the incremental voltage level corresponds to the measured current threshold level such that, after programming with the incremental voltage level, the bit generally is fully programmed or slightly less than fully programmed. For the latter, the present invention includes the step of final programming the bit with a small incremental voltage level after the step of programming with the incremental voltage level.

[0054] Moreover, in accordance with a preferred embodiment of the present invention, the step of adapting for erasure includes the steps of determining erase conditions of the erase pulse used to erase a representative portion of the memory array and setting initial erase conditions of the memory array to the general vicinity of the erase conditions of the representative portion.

[0055] In another embodiment, the step of adapting for erasure includes the steps of measuring the current threshold level of a bit to within a predetermined range and selecting an incremental voltage level of a next erase pulse for the bit in accordance with the measured current threshold level.

[0056] Moreover, in accordance with a preferred embodiment of the present invention, the step of measuring includes the step of having multiple verify levels for the array.

[0057] Finally, in accordance with a preferred embodiment of the present invention, the erase conditions comprises at least one of the following set: the gate voltage level, the drain voltage level, the erase duration and any combination thereof.

BRIEF DESCRIPTION OF THE DRAWINGS

[0058] The present invention will be understood and appreciated more fully from the following detailed description taken in conjunction with the appended drawings in which:

[0059]FIG. 1 is a schematic illustration of a floating gate memory cell;

[0060]FIGS. 2A and 2B are schematic illustrations of a NROM memory cell;

[0061]FIGS. 3A, 3B and 3C are graphical illustrations of a prior art programming scheme;

[0062]FIG. 4 is a histogram of the distribution of programming speed in NROM memory cells;

[0063]FIG. 5 is a graph of the charge levels in a multi-level floating gate cell;

[0064]FIGS. 6A, 6B, 6C and 6D are schematic illustrations of trapped charge retained in a two-bit NROM memory cell;

[0065]FIG. 7 is an electrical schematic illustration of a portion of an NROM array;

[0066]FIGS. 8A, 8B and 8C are graphs illustrating the effect of programming drain voltages on the threshold voltage, as a function of cell temperature, channel length, and array and second bit effects, respectively;

[0067]FIG. 9 is a graph illustrating the effect of the gate voltage and the drain voltage on the threshold voltage;

[0068]FIG. 10 is a graph illustrating the increases in the threshold voltages over time, as a function of the drain voltage;

[0069]FIGS. 11A, 11B and 11C are graphical illustrations of a programming algorithm, constructed and operated according to a preferred embodiment of the present invention;

[0070]FIG. 12 is a flow chart illustration of a method of setting an initial programming voltage level, operative in accordance with a preferred embodiment of the present invention;

[0071]FIGS. 13A, 13B, 13C, 13D and 13E are schematic illustrations of histograms of the number of programming pulses required to program the bits of an array for the method of FIG. 12;

[0072]FIGS. 14A and 14B together are a flow chart illustration of a method of setting an initial erase voltage level, operative in accordance with a preferred embodiment of the present invention;

[0073]FIG. 15 is a schematic illustration showing two programming schedules for two different bits;

[0074]FIG. 16 is a schematic illustration of an alternative embodiment of the present invention having multiple verify levels during programming; and

[0075]FIG. 17 is a flow chart illustration of a method of generally fast erasing using multiple verify levels.

DETAILED DESCRIPTION OF THE PRESENT INVENTION

[0076] The present invention teaches an NROM cell algorithm which regulates the bit line voltage V_(BL) provided to the bit line acting as the drain, thereby providing tight programming control. Furthermore, the described invention provides the combination of a fast programming algorithm with reduced over-programming risk, and hence improved product endurance and cycling ability.

[0077] Although a bit line can act as either a source or a drain, in the present application, references to the bit line voltage V_(BL) refer to the voltage provided when the bit line is currently acting as a drain. For purposes of clarity herein, when the bit line acts as a source, it is herein referred to as a source.

[0078] The present invention further teaches the use of a low programming bit line voltage V_(BL) to produce a tight spatial distribution of trapped charge, thereby resulting in better two-bit separation in the NROM cell, faster erase, and increased product life.

[0079] Furthermore, by controlling the bit line voltage V_(BL), the present invention provides a fast and generally accurate programming algorithm for a large distribution of cells with diverse process variations and programming times. Reference is now made to FIGS. 8A-8C, a series of graphs that illustrate the effect of the programming bit line voltage V_(BL) on threshold voltage V_(TH) as a function of cell temperature, channel length, and array effects/second bit, respectively. In this graph the reverse read threshold voltage V_(TR), which is the threshold voltage V_(TH) when the cell is reverse read, is a function of bit line voltage V_(BL). Every point represents a programming pulse of 2 μsec in exemplary steps of 0.3V. It is noted that the gate voltage V_(G) is constant at 9V.

[0080] The graph in FIG. 8A illustrates 3 programming curves for three varying cell temperatures: curve 202 denotes a cell at −40° C., curve 204—a cell at 20° C., and curve 206—a cell at 80° C. As seen in the figure, in order to achieve a specific threshold voltage V_(TH), each cell receives a different drain voltage V_(D), depending on the temperature of that specific cell. As an example, to achieve a desired threshold voltage V_(TH) of approximately 4V, the low temperature case (curve 202) receives a bit line voltage V_(BL) of approximately 4.1V, while the high temperature case (curve 206) must receive a bit line voltage V_(BL) potential of 5V to reach the same desired threshold voltage V_(TH) level. Accordingly, in a preferred embodiment, the bit line voltage V_(BL) is incrementally increased from a minimum voltage to a higher voltage, thus covering a wide range of operating temperatures.

[0081] When a cell has reached the desired threshold voltage V_(TH), such as 4V, the programming algorithm for that cell is terminated. Meanwhile, for cells which have not yet reached the desired threshold voltage, the bit line voltage V_(BL) is incrementally increased, until those cells have reached their desired level. Thus, referring to the example above, when operating at a low temperature (curve 202), the cell will complete programming at a bit line voltage V_(BL) of 4.3V, while if operating at high temperatures (curve 206), the cell will complete programming at a bit line voltage V_(BL) of approximately 5V. It is noted that for curves 202 and 206, the bit line voltages V_(BL) of 4.3V and 5V, respectively, are the first bit line voltage levels that result in a threshold voltage V_(TH) higher than the exemplary target of 4V.

[0082] It is also apparent from FIG. 8A that the chosen step size for the bit line voltage V_(BL) affects the size of the maximum overshoot (over-programming) of the threshold voltage V_(TH). In order to achieve a very accurate bit line voltage V_(BL) rise, it is preferable that the step size is relatively small. Thus to achieve the programming level, the resultant algorithm requires many programming steps and may result in extended programming times. Conversely, a large voltage step results in quicker programming times; however, opens up to the risk of a large overshoot. The practical step size is a compromise between the requirements for quick programming speed and limited overshoot.

[0083] It is noted that, when observing the section of the graph commencing at a bit line voltage V_(BL) of 3V, although the absolute rise of the curves may differ, the slopes of the curves are essentially equivalent, and approximately linear. Consequently, for each step in the bit line voltage V_(BL), there is an equivalent step in the threshold voltage V_(TH), regardless of the temperature of the cell.

[0084] Thus, for a known incremental increase in drain voltage V_(D), it is possible to gauge the incremental increase in threshold voltage V_(TH). Knowing this information allows for more precise programming abilities and a greater protection against over-programming, with all the detrimental affects associated therewith.

[0085]FIG. 8B is comparable to the graph of FIG. 8A and depicts the effect of the bit line voltage V_(BL) on the reverse read threshold voltage V_(TH) as a function of a channel length of 0.6 μm, 0.65 μm and 0.7 μm respectively, for curves 212, 214, and 216, respectfully. FIG. 8C depicts the effect of the bit line voltage V_(BL) on the reverse read threshold voltage V_(TH) as a function of the location of a cell along a 32 bit long local diffusion bit-line segment and a comparison between the 1^(st) and 2^(nd) bit of the same cell. The fastest bit is bit 1 of word-line 16 and the slowest is bit 2 on word-lines 32 and 2. In order to reach a threshold voltage V_(TH) of 3.5V, the fastest bit receives a bit line voltage V_(BL) equal to approximately 5.8V, and the slowest receives approximately 7V.

[0086] As was noted in FIG. 8A, and bringing attention to a similar phenomenon in FIGS. 8B and 8C, although the characteristics of the represented cells differ, the programming slope is generally equivalent and generally linear. Hence, the explanation as outline above for FIG. 8A is also applicable to these figures, and the conclusions drawn for FIG. 8A are also applicable to FIGS. 8B and 8C.

[0087] Consequently, for an array of cells with a wide divergence of process and/or environmental conditions, by stepping the bit line voltage V_(BL), it is possible to achieve a controlled programming algorithm with an accurate prediction of the delta threshold voltage V_(TH) rise.

[0088] Although it is possible to cover a diverse range of programming variations by stepping the gate voltage V_(G), as was done in prior art floating gate algorithms, in NROM cells, drain voltage V_(D) stepping is more efficient. Reference is now made to FIG. 9, a graph illustrating the programming time of an exemplary cell (channel length=0.65 μm, temperature=20° C.) as a function of either drain voltage V_(D) or gate voltage V_(G).

[0089] When programming with a constant gate voltage V_(G) and a stepped drain voltage V_(D) between 4.5V to 5.5V, the resultant programming times range from of 100 μsec down to 0.8 μsec, respectively. However, in order to achieve approximately the same programming time range with a constant drain voltage V_(D), the gate voltage must be stepped from 8V to 11.5V. Thus, in the NROM cell, in order to cover an equivalent range of programming times, a 1V step in drain voltage V_(D) is equivalent to a 3.5V step in gate voltage V_(G).

[0090] As further noted and depicted in FIG. 9, when stepping the gate voltage V_(G), in order to catch the fast programming cells without risking over-programming, the resultant programming algorithm must commence with a low potential for the gate voltage V_(G). This, however, is undesirable since it causes programming to be slow. Hence, in order to increase the programming speed, the low gate voltage V_(G) must be paired with high drain voltages V_(D).

[0091] Nonetheless, as noted in the previous sections, high drain voltages V_(D) promotes cell degradation and decreased cycling ability. Unequivocally, high drain voltages V_(D) in combination with low gate voltages V_(G) are even more detrimental to the cell, producing very large lateral fields and wide pinch-off regions, yielding an extensive trapped charge region.

[0092] In contrast, in the present invention, in order to capture the fast programmers, the inventive programming algorithm commences with a low drain voltage V_(D), and a high gate voltage V_(G). This is favorable since applying a high programming gate voltage V_(G) and a low drain voltage V_(D) imposes a large vertical field and a narrow pinch-off regime, thus resulting in a narrower trapped electron pocket.

[0093] In order to explain the present invention in more detail, reference is now made again to FIGS. 2A and 7. As noted above (FIG. 2A), in NROM cells the charge is trapped in a localized region and the read process is a reverse read. As such, the programming current I_(PR) is generally insensitive to the rise in threshold voltage V_(TH), and remains constant even during programming.

[0094] The programming current is fixed during programming since the cell is programmed in the forward direction, which causes the charge to be trapped next to the drain. Hence, during reading, there is full punch-through under the localized charge. Additionally, for each increase in the threshold voltage V_(TH), the charge is punched through at a greater distance from the junction.

Hence, ΔV _(DS) =αΔV _(TH) =V _(BL) −V _(BL-S)  (1)

[0095] where V_(BL-S) is the bit line voltage for the source and is constant, and

[0096] α is a constant proportionally between 0.5 and 2, and is affected by parameters such as channel length, gate voltage V_(G), temperature, and location of the cell in the array. Referring now to FIG. 7, the IR loss equation that defines the circuit depicted therein is:

V _(PPS) =V _(DS) +V _(DS-SEL)+(R ₁ +R ₂)*I _(PR)  (2)

[0097] Since the programming current I_(PR) is constant, then the IR losses across V_(DS-SEL), I_(PR) and R1 and R2 are also constant. Consequently, the only remaining non-constant factor is the channel voltage V_(DS). Thus

ΔV _(PS) =αΔV _(DS)  (3)

[0098] Thus, since V_(BL2) is constant, when combining equations (1) and (3)

ΔV _(PPS) ≅ΔV _(BL) =αΔV _(TH)  (4)

[0099] or, since V_(BL) is equivalent to V_(D)

ΔV_(D) =αΔV _(TH)  (5)

[0100] Evidence to such can also be seen when observing the linear sections of FIGS. 8A-8C, and as explained hereinabove in reference to those graphs. Consequently, when considering this linear relationship, applicants have concluded that closely controlling the drain voltage V_(D) produces a known change in the threshold voltage V_(TH), and thus the programming algorithm of the present invention provides precise control over the programming procedure, including preventing over-programming.

[0101] Reference is now made to FIG. 10, a graph illustrating the rise in threshold voltage V_(TH), as a function of time, with the bit line voltage V_(BL) as a parameter. Depicted in FIG. 10 is the resulting threshold voltage V_(TH) for 4 exemplary drain voltages of 5V, 5.25V, 5.5V and 5.75 V, respectively.

[0102] As can be observed in all of the curves, the threshold voltage V_(TH) rises quickly at the start of the curve, and then reaches a point where the increase in threshold voltage V_(TH) is saturated. The flatter region of the curve, to the right of dashed line 232, illustrates the region wherein the cell programming has saturated and subsequent programming pulses have a limited affect on the cell. Once saturated, most of the rise in threshold voltage V_(TH) is due to an undesirable injection of remote electrons from non-primary mechanisms.

[0103] Therefore, in order to maintain an efficient increase in the threshold voltage V_(TH), and in order to create a pocket of trapped charge close to the drain, it is preferable to remain in the part of the graph (to the left of line 232) where the threshold voltage rise is steep. With stepping of bit line voltage V_(BL), it is possible to remain in the steep slope area (left of line 232).

[0104] As an example, when stepping in increments from the designated points 234 to 236, to 238, and to 240, it is possible to achieve equivalent increases in the threshold voltage V_(TH). When observing FIG. 10, it is possible to note that in the range of points 234-240, for each 0.25V increase in the bit line voltage V_(BL), there is a 0.15V increase in the threshold voltage V_(TH).

[0105] It is therefore noted that, according to a preferred embodiment of the present invention, a progressively increasing drain voltage V_(D) causes the threshold voltage V_(TH) to climb along the steep slope of the programming function, and produces a more efficient and quicker programming algorithm.

[0106] Reference is now made to FIGS. 11A, 11B and 11C a series of timing diagrams of a programming algorithm for NROM cells, constructed and operated in accordance with a preferred embodiment of the present invention. Although FIGS. 11A-11C illustrate only a limited number of pulses, it is apparent that a typical programming algorithm comprises numerous pulses and still complies with the principles of the present invention.

[0107] FIGS. 11A-11C depict a programming algorithm utilizing gate voltage V_(G), drain voltage V_(D), and source voltage V_(S), respectively. The algorithm additionally comprises a series of alternating programming and program verify pulses. The first pulse is a programming pulse and is designated as A. The second pulse is a program verify pulse and is designated as B, and so on.

[0108] The sequence of programming and program verify pulses A, B, C, etc. are repeatedly applied to an array of NROM cells. Once the threshold voltage V_(TH) of an applicable cell has reached a desired level, the programming algorithm is terminated for that specific cell. The programming algorithm proceeds until each cell has reached the desired level, at which point the algorithm is terminated. Preferably the algorithm is applied on a bit by bit basis for either a byte, or word.

[0109] With each progressive programming pulse, from A to C to E, the level of the drain voltage V_(D) increases. Typically, the voltage steps are evenly incremented from progressive drain voltage V_(D) pulse to pulse, i.e. at fixed increments of 0.25V, or any other desired increment.

[0110] Alternatively, in order to customize the algorithm for diverse programming times, and as a means to improve programming speed, the present method teaches unevenly incremented voltage steps, i.e. with smaller incremented steps at the start of the algorithm and larger steps as the algorithm progresses. In this manner, the incremented steps directed to the “fast” programmers are smaller than the incremented steps for the “slow” programmers.

[0111] The explanation for such is as follows: When a cell commences programming, its threshold voltage V_(TH) is relatively low. With the application of each progressive programming pulse, the threshold voltage V_(TH) of the cell increases. Each time the threshold voltage V_(TH) increases, a higher programming pulse is needed to force punch-through of electrons. Hence, at the start of the programming algorithm, when the threshold voltage V_(TH) is low, smaller incremental jumps are sufficient to induce punch-through. However, farther into the algorithm, when the threshold voltage V_(TH) is higher, larger steps are needed to produce the punch-through effect. Consequently, by varying the incremental size of the voltage step increases, i.e. with small steps at the beginning when the threshold barrier is still low, and with larger steps when the barrier is higher, it is possible to provide more precise control over the programming algorithm. See for example FIG. 8A, wherein the slope is shallower for the hot temperature cells than for the cooler temperature cells.

[0112] According to a preferred embodiment of the present invention, when programming an NROM cell, the gate voltage V_(G) is high and constant, (e.g. 10V) and the drain voltage V_(D) is as low as possible, resulting in a narrow spatial distribution of trapped charge. Preferably, the initial bit line voltage V_(D) is approximately 4V.

[0113] When programming with a low initial bit line voltage V_(D), the resultant spatial distribution of the trapped charge 24 is closer to the diffusion area, which also facilitates effective erasure and increased life cycles. It is additionally noted that, due to the tighter spatial distribution of trapped charge, the present invention produces better two-bit separation and enables better distinction between the two bits during read. Furthermore, a smaller tail of trapped charge results in less erase time and voltage. This in turn, improves retention since less erase stress creates less trapped holes in the nitride. Less trapped holes improves the retention since there is less trapped movement at the high temperature back.

[0114] It is noted that the final step of the drain voltage V_(D) stops at a level that is just sufficient to reach the desired threshold voltage V_(TH), thus avoiding any unnecessary extra pulses of the drain voltage V_(D) which might create secondary electron injections far from the junction, imposing the unwanted tail 44.

[0115] Frequently, due to architecture density, the applied source voltage V_(S) is not necessarily ground or 0V. However, in order to provide a tight distribution of charge, it is preferable that source voltage V_(S) be as close to 0V as possible, and preferably less than 0.5V.

[0116] The present invention includes adapting the programming and erasure methods of an array to its particular circumstances. For example, the speed of programming and erasure of a bit is a function of how it is manufactured, the current operating temperature, the power supply, the peripheral circuitry and, if there are two bits in the memory cell, the programmed state of the other bit. Having a programming and/or erasure method that is adaptable enables the memory array to be programmed and/or erased quickly in most circumstances, no matter how the operating and environmental conditions vary.

[0117] The present invention presents two types of adaptations, one of the initial programming or erasure level and the other of the program or erasure step.

[0118] In some instances, it may be known that all of the cells are “slow” to program. Usually, this means that the initial program steps are not effective. In accordance with a preferred embodiment of the present invention, it is possible to dial-in a higher initial drain voltage V_(D) pulse A). As an example, and referring again to FIG. 8B, for cells with a longer than average channel length_dimension (curve 216), the initial dialed-in drain voltage V_(D) might be 4V, while for the cells with shorter channel lengths (curve 212), the dial in drain voltage V_(D) would be 3.1V. In such a manner, for the cells on curve 216, the first few ineffective pulses between 3.1V and 4V are eliminated, and the programming time is shortened.

[0119] The dial-in level is determined from the response of the bits of the array, as described hereinbelow, and thus, is adapted to the particular array.

[0120] Reference is now made to FIG. 12, which illustrates the method, using the dial-in procedure, to determine the highest possible, initial programming level for the memory array. This method is generally performed once per array, as part of a sort or a test part of the manufacturing process, although it can be performed at other times as well. Reference is also made to FIGS. 13A, 13B and 13C, which are useful in understanding the method of FIG. 12.

[0121] A representative portion of the array is first programmed (step 300), where “programmed” means that the threshold voltage of each cell is above a predetermined “program verify” level.

[0122] The representative portion should include enough bits to cover the expected variation in programming responses. For example, the portion can include a few bytes. If there are more than one bit per cell, the portion should include a selection of each type of bit. The portion should also include cells in different locations within a block and/or column of cells, since the paths to such, from the power supplies, are different and each path has a different resistance level. The cells of the representative portion may be chosen according to known array effects and to sensitive manufacturing areas in the array. Which cells are chosen is typically determined empirically.

[0123] The bit line voltage V_(BL) at which each bit in the representative portion became programmed is registered and the bit line voltage V_(BL1) of the fastest bit of the group is stored (step 302). FIG. 13A graphs the bit line voltage V_(BL) (in number of steps) and the number of bits that became programmed at that level. In the example of FIG. 13A, two bits became programmed at level 6, five at level 7, eight at level 8 and 4 at level 9.

[0124] Level 6 is the lowest programming level and is thus, the bit line voltage V_(BL1) of the fastest bits (i.e. the bits programmed in six, rather than seven, eight or nine, steps). Thus, as Applicants have realized, all bits of the representative portion could begin the programming procedure at level 6. In such a case, the fastest bits would be programmed in one step while the others would be programmed in two, three or four steps.

[0125] Since the portion was only a representative portion and the array could include bits that program even faster, in step 304, the dial-in level DI is set to X levels lower than the fastest bit line voltage V_(BL1), where X can be any reasonable margin, such as two or three levels. FIG. 13A shows (with arrow 306) setting the dial-in level DI to two levels lower than the stored bit line voltage V_(BL1).

[0126] The rest of the array is now programmed (step 308), starting at the dial-in level DI. FIGS. 13B, 13C, 13D and 13E show four possible results. Since, in the four figures, the programming procedure begins at the dial-in level (the fourth original programming level), the first programming level in FIGS. 13B-13E is aligned with the fourth programming level of FIG. 13A. For all figures, the new bit line voltage V_(BL2) of the fastest bit is found in step 310.

[0127] In FIG. 13B, the fastest bits are as fast as the fastest ones in the representative portion and thus, program at the third programming level (which is equivalent to the old sixth programming level). In FIG. 13C the fastest bits program in two steps, and thus, are faster than those in the representative portion. In both cases, the dial-in level DI is changed (step 312) to the fastest bit line voltage V_(BL2). In FIG. 13D, however, the fastest level is above the third programming level (as checked in step 314), meaning that the fastest bits in the remainder of the array are slower than those of the representative portion. In this case, the dial-in level DI is kept at the first fast programming level, V_(BL1.)

[0128] In FIG. 13E, the fastest programming level is the first one. This situation is inconclusive. It is possible that the fastest bit can program at an even lower programming level. The system now has a choice (steps 314 and 315); it can set the dial-in level DI to his first programming level, it can repeat the whole process from step 304, setting the preliminary dial-in level DI to lower than this level was previously, or it can decide to fail the part.

[0129] For the remaining situations (i.e. all but that of FIG. 13E), the dial-in level DI is modified (step 312) to the either V_(BL1) or V_(BL2), whichever is lowest. If desired, DI may be set to a lower level since the conditions during the test are not likely to match the expected conditions of operation. For example, the test may be performed at a fixed temperature while the product may be operated at lower or higher temperatures.

[0130]FIGS. 13B, 13C and 13D show that, by beginning the programming levels at a higher level than that of the original of FIG. 13A, the number of programming steps and thus, the programming time, is reduced. It should be noted that the first original steps cannot be omitted since, in some cases, the dial-in level DI may fall on the initial steps.

[0131] In step 313 (FIG. 12), the dial-in level DI is set to Y levels lower than the level set in step 312, where Y can be any reasonable margin to accommodate for temperature and cycling. For example, Y can be one or two levels below the value found in step 312.

[0132] It will be appreciated that other methods of finding an initial dial-in level which ensure that the first programming level is close to the programming level of the fastest bit of the array are possible and are incorporated into the present invention. For example, the entire array can be programmed and the fastest programming level chosen. Alternatively, a two stage method such as described above can be performed but the second stage can be performed on the entire array rather than all but the representative portion.

[0133] Furthermore, the operation described hereinabove can be performed at other times during the life of the array, such as when so instructed by a user or by automatic built-in procedures.

[0134] Finally, occasionally it might be desired to determine the dial-in level DI quickly or roughly. In this case, only the representative portion is utilized and the dial-in level DI is set to the first fastest programming level V_(BL1) or, if desired, even higher. This choice may be adequate if fast programming is required.

[0135] It will be appreciated that the method of changing the dial-in level generally improves yield since the initial programming pulses that hardly change the state of the bits are eliminated. Each programming pulse above the dial-in level is generally more effective and thus, most of the bits will not fail to program (a cause of reduced yield).

[0136] It will be appreciated that the method of changing the dial-in level, described hereinabove for programming, may also be utilized for erasing. Reference is now made to FIGS. 14A and 14B which, together, illustrate an exemplary method for dial-in for erasure. The basic method is similar to that of programming except that, in erasure, both the gate and the drain voltage levels may be set. This is shown in FIGS. 14. Alternatively, only the drain voltage level can be set.

[0137] Furthermore, only the representative portion is considered. In one embodiment, the dial-in level DI of the gate or the drain is then set to a voltage level slightly below the voltage level of the slowest bit (to force the erase procedure to perform at least two erase pulses).

[0138] In step 320, the drain voltage Vppd is set to its lowest level for erasure. In step 322, the gate voltage level is set to the least negative voltage possible for erasure.

[0139] In step 324, one or more representative bytes are programmed and, in step 326, a single erase pulse is provided. An erase verify operation is performed in step 328 and the results checked in step 330.

[0140] If all of the bits which were programmed are now fully erased (i.e. the erase is fully verified), then either this occurred after the first loop (i.e. the gate is at its least negative level) or it occurred at some other point. This is checked in step 331. If the erasure occurred after the first loop (through steps 324-330), then the process was too successful and an error flag is set (step 333). Either the array can then be thrown away or the length of the erase pulse can be shortened and the process repeated.

[0141] If erasure is successful with a somewhat lower gate voltage, the gate voltage level for dial-in is set (step 332), as is the drain voltage Vppd for dial-in (step 335), and the process finishes in step 354. In one embodiment, the gate voltage level for dial-in can be set to one level less negative than the current level. Other embodiments include setting the gate voltage for dial-in to the level found in this process or for setting it to Z levels less negative than the current level.

[0142] If the erase verify (of step 330) was not successful, the gate voltage level is made more negative (step 334). As long as the gate voltage has not reached its most negative level (checked in step 336), the process of steps 324 through 330 is repeated with the new gate voltage level.

[0143] If the gate voltage has reached its most negative level without successfully erasing all of the programmed bits, then the process continues with steps 338-348 by changing the drain voltage level. The gate level is set at this point to its most negative voltage level.

[0144] In step 338, the gate voltage is set to its most negative level. As in the previous section, in step 340, one or more representative bytes are programmed. However, in this section, the drain voltage is raised (step 342), after which, in step 344, a single erase pulse is provided. An erase verify operation is performed in step 346 and the results checked in step 348.

[0145] If the all of the bits are now erased, the drain voltage Vppd for dial-in is set (step 352) and the process finished (step 354). As for the gate level, in one embodiment, the drain voltage Vppd for dial-in can be set to one level lower than the current level. Other embodiments include setting the drain voltage for dial-in to the level found in this process or for setting it to Z1 levels lower than the current level.

[0146] If the bits are not yet fully erased, the process of steps 340-348 is repeated until a maximum drain voltage is reached, as checked by step 350. If the maximum drain voltage is reached and the bits have not been erased, then the array cannot be erased in one pulse. An error flag is set (step 356) and the process finished. At this point, the array may either be thrown away, the process of FIGS. 14 may be repeated using two or more erase pulses in steps 326 and 344 or the duration of the erase pulse may be made longer.

[0147] As mentioned hereinabove, the dial-in level may also be determined by changing only the drain voltage Vppd (i.e. steps 320, 322 and 338-352).

[0148] Even with the dial-in level described hereinabove with respect to FIGS. 12, 13 and 14, some of the bits may still take many programming or erase pulses before becoming programmed or erased, respectively, and the number of pulses needed may vary depending on operating conditions.

[0149] Typically, the bit line programming levels increase in voltage by predetermined amounts. Reference is now made to FIGS. 15 and 16 which illustrate a further embodiment of the present invention which changes the incremental voltage level of the drain Vppd between pulses in order to program most of the bits in as few programming steps as possible. As described hereinbelow, the incremental voltage level is adapted to the current response of the bit to programming pulse.

[0150] Bits respond to programming in different ways. When given a programming pulse, the threshold voltage of some may increase significantly (see arrow 360 of FIG. 15) while the threshold voltage of others may only increase slightly (see arrow 362). The former bit requires only one more programming pulse (arrow 364) until it becomes programmed (i.e. until its threshold voltage is larger than a “program verify” voltage level). The latter type of bit must have multiple programming pulses (labeled 1-8) until it becomes programmed.

[0151] A bit that takes a significant number of programming pulses takes a long time to program and may limit the overall product performance. Applicants have realized that, if the threshold voltage level after a programming pulse is measured, it is possible to adjust the voltage level increment of the next programming pulse to move the threshold level toward the program verify level more quickly. This is illustrated in FIG. 16 in which multiple verify levels, labeled verify 1, verify 2, verify 3 and verify 4, are shown. It will be appreciated that the present invention includes having multiple verify levels and that the four levels are shown for purposes of clarity only. The number of verify levels is a design choice and any number greater than one is included in the present invention. It will also be appreciated that existing reference levels in the array can be used to provide the multiple verify levels.

[0152] During the program verify operation, after a programming pulse, the threshold voltage level of the bit is compared to five voltage levels, that of verify 1, verify 2, verify 3, verify 4 and program verify to determine how close to fully programmed the bit is.

[0153] Consider the two bits shown in FIG. 16 (the first one with solid lines and the second one with dashed lines). In the first example, the first programming pulse brings the threshold voltage level of the first bit almost to the verify 3 level (this pulse is labeled 370A). The output of the comparisons will be that the threshold voltage level is above the verify 1 and verify 2 levels but not above the verify 3, verify 4 and program verity levels. The threshold level of the bit is thus above the verify 2 level.

[0154] For the second bit, the first programming pulse (here labeled 370B) brings the threshold voltage level to above the verify 1 level. Only the verify 1 comparison will indicate that the threshold level is above it; all the remaining comparisons will be that the threshold level of the bit is below the comparison level. Thus, the threshold level for the second exemplary bit is above the verify 1 level.

[0155] It will be appreciated that the comparison operations can be performed together or serially. If performed serially, from the program verify level down to the verify I level, then the comparison operation ends once the threshold level of the bit is above the current comparison level.

[0156] Typically, a group of bits, such as a byte, are programmed together. The verify operation described hereinabove is performed for the group of bits and the bit having the highest verify level is then used to determine the size of the next programming pulse.

[0157] Each verify level has a different voltage level increment associated therewith, depending on how far away the verify level is from the program verify level. The closer the verify level is to the program verify level, the smaller the increment to the drain voltage Vppd. The size of the increment depends on the average transfer function between the change ΔV_(PPD) in bit line voltage and the resultant change ΔV_(T) in threshold level and is typically determined by experimentation. In addition to depending on the change ΔV_(PPD), it can also depend on the level of the bit line voltage itself.

[0158] In one example, the verify 4 level is 250 mV less than the program verify level. For this example, the increment in bit line voltage level, ΔV_(PPD), for a bit which is above the verify 4 level but below the program verify level is be about 300 mV. Table 1 gives an example of voltage levels for the verify levels and their associated incremental voltage levels for the example of FIG. 16. TABLE 1 How much the reference level is less than the Verify Name program verify Level (mV) ΔV_(PPD) (mV) Program Verify 0 0 Verify 4 −250 300 Verify 3 −500 600 Verify 2 −750 900 Verify 1 −1000 1200

[0159] It will be appreciated that the size of the increment is a tradeoff. If the minimum number of programming pulses is required, then the increment should be designed to bring a bit to fully programmed from whatever threshold voltage level it is at. Alternatively, if a minimum amount of overprogramming is desired, then the increment should be designed to bring a bit to just under the program verify level. The latter method requires that a further small increment programming pulse be performed in order to bring the bit above the program verify level. However, the latter method generally will not overprogram the bits.

[0160] The process is repeated until one or more bits are fully programmed, at which point they no longer receive programming pulses. The bit with the next highest threshold level defines the increment for the next programming pulse. FIG. 16 shows this process. The first programming pulse 370 brought the first bit to above the verify 2 level, so the voltage level of the second programming pulse 374 is set to be large enough to bring the first bit to the program verify level. In this case, the second pulse was not quite large enough (arrow 374A does not quite reach the program verify level) and a third pulse 376 was necessary (arrow 376A is above the program verify level).

[0161] For the second bit, second pulse 374 brings the threshold level above the verify 3 level (arrow 374B) and the third pulse brings the threshold level above the verify 4 level (arrow 376B). At this point, the second bit is the highest bit and its verify 4 level defines the increment for the fourth programming pulse, labeled 378, after which the second bit is fully programmed.

[0162] It will be appreciated that the present invention can also be utilized for erasure, as shown in FIG. 17, to which reference is now made.

[0163] Reference is now made to FIG. 17, which illustrates an exemplary method for multiple pulse erasure. In step 380, the block to be erased is read and, in step 382, its erase state is checked. If all of the bits of the block are erased already, the process is finished (step 404).

[0164] If the block requires further erasure, an erase pulse is provided (step 384), typically with predefined gate and drain voltages, such as those defined in the dial-in process of FIG. 14. Other predefined gate and drain voltages are also possible.

[0165] In steps 386-394, the read level is decreased from the program verify level (i.e. the level of fully programmed bits) towards the erase verify level (i.e. fully erased) to determine how much erasure has occurred and how much more needs to occur.

[0166] Specifically, in step 386, the read voltage level is set to the program verify (PV) level and the block is read (step 388). If all of the bits of the block pass the read operation, as checked in step 390, the read voltage level is reduced (step 394) as long as it has not yet reached the erase verify level (as checked in step 392).

[0167] If the read operation is successful at the erase verify level, then the block has been fully erased and the process finishes in step 404. However, if the read operation fails at some point, the drain voltage level Vppd is increased (step 396), for example, according to Table 2, another erase pulse is provided (step 400) using the new drain voltage level Vppd and the process is repeated from step 386. Step 398 checks that the number of erase pulses has not exceeded a maximum. If it has, then an error flag is set (step 402) and the process is stopped (step 404). TABLE 2 Reference Level above the Verify Name Erase Verify Level (mV) ΔV_(PPD) (mV) Program Verify 950 +1000 Verify 2 700 +750 Verify 1 400 +500 Erase Verify 0 0

[0168] It is noted that Table 2 has only four verify levels while Table 1, for programming, has five very levels. The number of verify levels are set by a designer according to any appropriate set of design considerations.

[0169] The methods and apparatus disclosed herein have been described without reference to specific hardware or software. Rather, the methods and apparatus have been described in a manner sufficient to enable persons of ordinary skill in the art to readily adapt commercially available hardware and software as may be needed to reduce any of the embodiments of the present invention to practice without undue experimentation and using conventional techniques.

[0170] It will be appreciated by persons skilled in the art that the present invention is not limited by what has been particularly shown and described herein above. Rather the scope of the invention is defined by the claims that follow: 

1. A method for erasing a memory array, the method using erase pulses, the method comprising the step of: adapting said erase pulses to the current state of said memory array.
 2. A method according to claim 1 wherein said step of adapting includes the steps of: determining erase conditions of the erase pulse used to erase a representative portion of said memory array; and setting initial erase conditions of said memory array to the general vicinity of said erase conditions of said representative portion.
 3. A method according to claim 1 and wherein said step of adapting includes the steps of: measuring the current threshold level of a bit to within a predetermined range; and selecting an incremental voltage level of a next erase pulse for said bit in accordance with said measured current threshold level.
 4. A method according to claim 3 and wherein said step of measuring includes the step of having multiple verify levels for said array.
 5. A method according to claim 3 and wherein said step of measuring also includes the step of after an erase pulse, comparing a threshold level of a group of bits which have received said erase pulse to at least one of said verify levels and said step of selecting includes the step of selecting a next erase pulse level according to generally the lowest verify level achieved by said group.
 6. A method according to claim 5 and also comprising the steps of removing any bit which has been erased from said group and repeating said steps of comparing and selecting until there are no more bits in said group.
 7. A method according to claim 3 and wherein said step of measuring also includes the step of after an erase pulse, comparing a threshold level of a bit which received said erase pulse to at least one of said verify levels and said step of setting includes the step of selecting a next erase pulse level according to generally the lowest verify level achieved by said bit.
 8. A method according to claim 2 and wherein said erase conditions comprises at least one of the following set: the gate voltage level, the drain voltage level, the erase duration and any combination thereof. 